package com.gome.bg.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("Monitor.do")
public class MonitorViewController {
	
	@RequestMapping(params = "method=monitor") 
	public ModelAndView MonitorJsp(HttpServletRequest request,  
            HttpServletResponse response) {
		
		String mes = "Hello world !";
		
		
		return new ModelAndView("monitor","message",mes);
		
	}

}
